:root {
  --red: #e50914;
  --black: #000;
  --white: #fff;
  --dark: #111;
  --gray: #1b1b1b;
  --border: #2a2a2a;
}

.product-overview {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0;
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 26px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.product-desc {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 40px;
}

.spec-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.specs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.specs-col {
  background: var(--gray);
  border-radius: 10px;
  overflow: hidden;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-item span {
  color: #aaa;
}

.spec-item strong {
  color: var(--white);
}

/* 📱 موبايل */
@media (max-width: 768px) {
  .specs-wrapper {
    grid-template-columns: 1fr;
  }
}




.features-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.feature-item h4 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 17px;
}

.feature-item p {
  color: #ccc;
  line-height: 1.7;
  font-size: 14px;
}

/* موبايل */
@media (max-width: 768px) {
  .features-wrapper {
    grid-template-columns: 1fr;
  }
}



.product-gallery {
  margin-top: 40px;
  background: #121010;
  padding: 40px 0;
}

.gallery-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover Zoom */
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 200px;
  }
}


/* ===== Product Overview Section ===== */
.product-overview,
.why-section,
.features-section,
.applications-section,
.compatibility-section,
.specs-section,
.delivery-section {
  background: #1a1a1a; /* خلفية داكنة */
  color: #f5f5f5; /* نص فاتح */
  padding: 60px 0;
  direction: rtl;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-overview .section-title,
.why-section .section-title,
.features-section .section-title,
.applications-section .section-title,
.compatibility-section .section-title,
.specs-section .section-title,
.delivery-section .section-title {
  font-size: 28px;
  margin-bottom: 25px;
  color: #fff;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

/* Product description paragraph */
.product-overview .product-desc,
.compatibility-section .product-desc {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
}

/* Why Section List */
.why-list,
.features-list,
.applications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.why-list li,
.features-list li,
.applications-list li {
  background: #222;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 15px;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.why-list li:hover,
.features-list li:hover,
.applications-list li:hover {
  background: #333;
  transform: translateY(-4px);
}


/* Responsive for mobile */
@media (max-width: 768px) {
  .why-list,
  .features-list,
  .applications-list {
    grid-template-columns: 1fr;
  }

  .product-overview .section-title,
  .why-section .section-title,
  .features-section .section-title,
  .applications-section .section-title,
  .compatibility-section .section-title,
  .specs-section .section-title,
  .delivery-section .section-title {
    font-size: 24px;
  }

  .product-overview .product-desc,
  .compatibility-section .product-desc {
    font-size: 14px;
  }
}
